'use strict';

const Controller = require('egg').Controller;

class MyController extends Controller {
  /**
   * 用户列表
   */
  async list() {
    this.ctx.body = 'hello world';
  }
  async one() {
    this.ctx.body = 'this is user router';
  }
  async add() {
    this.ctx.body = 'add';
  }
  async delete() {
    this.body = 'delete';
  }
  async edit() {
    this.body = 'edit';
  }
}

module.exports = MyController;